home *** CD-ROM | disk | FTP | other *** search
/ Dragon Blade - Wrath of Fire (USA) (Press Kit) / Dragon Blade - Wrath of Fire (USA) (Press Kit).bin / pc / main.swf / scripts / DefineSprite_82 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-01-01  |  787 b   |  27 lines

  1. overSound = new Sound(this);
  2. overSound.attachSound("btnOver");
  3. loadBar_mc._width = 0;
  4. hitVal = 0;
  5. hit_mc._alpha = 0;
  6. name_txt.colorTo(2148607,0,"easeOutSine");
  7. name_txt.colorTo(16777215,0.4,"easeOutSine");
  8. name_txt.text = "Press Materials";
  9. var Plink;
  10. hit_mc.onRollOver = function()
  11. {
  12.    name_txt.colorTo(2148607,0,"easeOutSine");
  13.    overSound.start();
  14. };
  15. hit_mc.onRollOut = function()
  16. {
  17.    name_txt.colorTo(16777215,0.4,"easeOutSine");
  18. };
  19. hit_mc.onRelease = hit_mc.onReleaseOutside = function()
  20. {
  21.    _root.gotoAndStop("pressMaterials");
  22.    infoContentReturn();
  23.    _root.imageLogoSub_mc.alphaTo(100,0.3,"easeOutQuad",0.5);
  24.    _root.imageLogoSub_mc.colorTo(null,0.3,"easeOutQuad",0.7);
  25.    mainEnabler(false,2148607,true,16777215,true,16777215,true,16777215);
  26. };
  27.